<template>
  <div
    id="app"
    :class="this.$route.meta.container"
    v-cloak
  >
    <keep-alive>
      <router-view v-if="this.$route.meta.keepAlive"></router-view>
    </keep-alive>
    <router-view v-if="!this.$route.meta.keepAlive"></router-view>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style scoped>
[v-cloak] {
  display: none !important;
}
#app {
  height: 100%;
}
</style>
